Kanzi 4.0.0-beta2
kanzi::CompositionContentRequirements Struct Reference

Holds the requirements for the composition target. More...

#include <kanzi/core.ui/graphics2d/composition_requirements.hpp>

Public Attributes

bool alpha
 Whether the content requires alpha channel.
 
bool depth
 Whether the content requires depth buffer.
 
Sampler::MipmapMode mipmapMode
 Mipmap mode for the output texture.
 
size_t numSamples
 Number of MSAA samples for the content buffer.
 
Vector2 size
 Required size of the source content to be used by the composition or effect.
 
bool stencil
 Whether the content requires stencil buffer.
 

Detailed Description

Holds the requirements for the composition target.

Since
Kanzi 3.9.7

Member Data Documentation

◆ size

Vector2 kanzi::CompositionContentRequirements::size

Required size of the source content to be used by the composition or effect.

◆ alpha

bool kanzi::CompositionContentRequirements::alpha

Whether the content requires alpha channel.

◆ depth

bool kanzi::CompositionContentRequirements::depth

Whether the content requires depth buffer.

◆ stencil

bool kanzi::CompositionContentRequirements::stencil

Whether the content requires stencil buffer.

◆ mipmapMode

Sampler::MipmapMode kanzi::CompositionContentRequirements::mipmapMode

Mipmap mode for the output texture.

Since
Kanzi 4.0.0

◆ numSamples

size_t kanzi::CompositionContentRequirements::numSamples

Number of MSAA samples for the content buffer.

Since
Kanzi 4.0.0 changed the type to size_t.

The documentation for this struct was generated from the following file: